package com.project.application.server.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.application.server.system.domain.SysOss;
import org.springframework.web.multipart.MultipartFile;

import java.util.Collection;

/**
 * 文件上传 服务层
 *
 * @author levnli
 */
public interface ISysOssService extends IService<SysOss> {

    SysOss getById(Long ossId);

    SysOss upload(MultipartFile file);

    boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

}
